<template>
  <div>
          <van-nav-bar title="严选专栏" fixed left-arrow @click-left="onClickLeft" />
          <div class="container-item" v-for="(item,index) in getMsg" :key="index">
            <img :src="item.pic" alt="">
          </div>
  </div>
</template>

<script>
export default {
  computed:{
    getMsg:function(){
       return this.$store.state.homeStore.subjectList
    }
  },
    methods:{
        onClickLeft(){
            window.history.back()
        }
    }
}
</script>

<style scoped>
.container-item{
  width: 100%;
  padding: 0.02rem 0.2rem;
  box-sizing: border-box;
}
  img{
    width: 100%;
    height: 4.5rem;
  }
</style>